﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Treinamento2015_01Core.Models;

namespace Treinamento2015_01Core.Repository
{
    public class ProductRepository : BaseRepository<Product>
    {
        internal List<Product> FindAllActives()
        {
            return _Repository.Where(p => p.IsActive).ToList();
        }
    }
}
